package Form::Field::Gender;

use strict;
use warnings;
use base qw(Rose::HTML::Form::Field::RadioButtonGroup);
use Rose::HTML::Form::Field::RadioButton;

sub new {
    my $class = shift;
    my $self  = $class->SUPER::new(@_);

    $self->add_radio_buttons( m => 'Male', f => 'Female', );

    bless( $self, $class );
    return $self;
} ## end sub new

1;
